﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PCMarket
{
    /// <summary>
    /// 电脑类
    /// </summary>
    public class Computer
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public double Price { get; set; }

        public Computer()
        {

        }
        public Computer(string n, string b, double p)
        {
            this.Name = n;
            this.Price = p;
            this.Brand = b;
        }

    }
}
